import type { Column } from "@/components/CrudPage/type";

export function useSysUserThirdBindProvider() {
  // 列配置
  const columns: Column[] = [
    {
      label: "",
      slot: "userId",
      prop: "userId",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "platform",
      prop: "platform",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "openId",
      prop: "openId",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "account",
      prop: "account",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "nickName",
      prop: "nickName",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "avatar",
      prop: "avatar",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "organizeId",
      prop: "organizeId",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "token",
      prop: "token",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "status",
      prop: "status",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "order",
      prop: "order",
      create: true,
      edit: true
    },
    {
      label: "",
      slot: "tenantId",
      prop: "tenantId",
      create: true,
      edit: true
    },
    {
      label: "操作",
      prop: "operation",
      slot: "operation"
    }
  ];

  return {
    columns
  };
}
